<%@ page pageEncoding="UTF-8" %>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<div class="container_0 clearfix">
    <div class="box no-border">
        <div class="header">
            <h2>${pageTitle}</h2>
        </div>
        <isperp:grid url="report/reportCheckin/listCheckinDetailPub?checkinType=0" 
                     gridId="reportGrid" altRows="false" gridTitle="${pageTitle}"
                     pager="reportPager" cusFormatterActions="true"
                     sortname="checkin_time" sortorder="desc"
                     cusViewUrl="report/reportCheckin/checkinView">

            <jsp:attribute name="searchbar">
				<table class="search-table">
                    <tbody>
                    <tr>
                        <td align="right">部门：</td>
                        <td>
                            <input type="hidden" id="departmentPath"
								field="treenode_name_path" op="cn" />
							<isperp:treeSelector asyncLoad="false" 
								url="app/department/getTree?parentId=10132850854490010" id="departmentPathSelector" 
								name="departmentPathName" displayValue="" valueColumn="treenodeNamePath"
								valueControlId="departmentPath">
							</isperp:treeSelector>
                        </td>
                        <td align="right">
							姓名：
                        </td>
                        <td>
                            <input type="text" field="fullname" op="cn">
                        </td>
                        <td align="right">打卡状态：</td>
                    	<td>
                            <select field="exception_type" op="eq">
                            <option></option>
                            <option value=" ">正常</option>
                            <option>未打卡</option>
							<option>地点异常</option>
                        </td>
                    </tr>
                    
                    <tr>
                        <td class="td1">年：</td>
						<td class="td2">
							<select field="year(checkin_time)" op="eq">
							  <option></option>
							  <option>2017</option>
							  <option>2018</option>
							  <option>2018</option>
							  <option>2019</option>
							  <option>2020</option>
							  <option>2021</option>
							  <option>2022</option>
							</select>
						</td>
						<td class="td1">月：</td>
						<td class="td2">
							<select field="month(checkin_time)" op="eq">
							  <option></option>
							  <option>1</option>
							  <option>2</option>
							  <option>3</option>
							  <option>4</option>
							  <option>5</option>
							  <option>6</option>
							  <option>7</option>
							  <option>8</option>
							  <option>9</option>
							  <option>10</option>
							  <option>11</option>
							  <option>12</option>
							</select>
						</td>
						<td class="td1">日：</td>
						<td class="td2">
							<select field="day(checkin_time)" op="eq">
							  <option></option>
							  <option>1</option>
							  <option>2</option>
							  <option>3</option>
							  <option>4</option>
							  <option>5</option>
							  <option>6</option>
							  <option>7</option>
							  <option>8</option>
							  <option>9</option>
							  <option>10</option>
							  <option>11</option>
							  <option>12</option>
							  <option>13</option>
							  <option>14</option>
							  <option>15</option>
							  <option>16</option>
							  <option>17</option>
							  <option>18</option>
							  <option>19</option>
							  <option>20</option>
							  <option>21</option>
							  <option>22</option>
							  <option>23</option>
							  <option>24</option>
							  <option>25</option>
							  <option>26</option>
							  <option>27</option>
							  <option>28</option>
							  <option>29</option>
							  <option>30</option>
							  <option>31</option>
							</select>
						</td>
						</tr>
                    </tbody>
                </table>
			</jsp:attribute>
            <jsp:body>
                <isperp:column name="id" title="id" hidden="true"></isperp:column>
                <isperp:column name="treenode_name_path" title="部门" width="200">
                </isperp:column>
                <isperp:column name="fullname" title="姓名" width="80">
                </isperp:column>
                <isperp:column name="times" title="打卡次数" width="110">
                </isperp:column>
                <isperp:column name="checkin_time" title="打卡时间" width="110">
                </isperp:column>
                <isperp:column name="status" title="打卡状态" width="60">
                </isperp:column>
                <isperp:column name="location_title" title="打卡地点" width="60">
                </isperp:column>
            </jsp:body>
        </isperp:grid>
    </div>
</div>
